package com.test.springai.config;

import com.test.springai.service.RecruitServiceFunction;
import java.util.function.Function;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Description;

/**
 * Created with IntelliJ IDEA.
 *
 * @description:
 * @author: liuziyang
 * @since: 8/20/25 9:28 AM
 * @modifiedBy:
 * @version: 1.0
 */
@Configuration
public class FunctionCallConfig {
  @Description("某某是否有面试资格")
  @Bean("recruitFunction")
  public Function<RecruitServiceFunction.Request, RecruitServiceFunction.Response>
      recruitFunction() {
    return new RecruitServiceFunction();
  }
}
